package com.hpjpw.ido.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 加油站动态点赞对象 ido_cheer_thumb
 * 
 * @author hpj
 * @date 2021-01-02
 */
@ApiModel("CheerThumbDomain")
public class CheerThumb extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    @Excel(name = "ID")
    @ApiModelProperty("ID")
    private String id;

    /** 点赞动态ID */
    @Excel(name = "点赞动态ID")
    @ApiModelProperty("点赞动态ID")
    private Long momentId;

    /** 点赞时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "点赞时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("点赞时间")
    private Date time;

    /** 点赞者的ID */
    @Excel(name = "点赞者的ID")
    @ApiModelProperty("点赞者的ID")
    private Long thumbedId;

    /** 点赞者姓名 */
    @Excel(name = "点赞者姓名")
    @ApiModelProperty("点赞者姓名")
    private String thumbedName;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setMomentId(Long momentId) 
    {
        this.momentId = momentId;
    }

    public Long getMomentId() 
    {
        return momentId;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setThumbedId(Long thumbedId) 
    {
        this.thumbedId = thumbedId;
    }

    public Long getThumbedId() 
    {
        return thumbedId;
    }
    public void setThumbedName(String thumbedName) 
    {
        this.thumbedName = thumbedName;
    }

    public String getThumbedName() 
    {
        return thumbedName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("momentId", getMomentId())
            .append("time", getTime())
            .append("thumbedId", getThumbedId())
            .append("thumbedName", getThumbedName())
            .toString();
    }
}
